//
//  IDCViewControllerLogIn.m
//  GamePlan Proof
//
//  Created by iD Student on 7/15/13.
//  Copyright (c) 2013 jasonkurtzman. All rights reserved.
//

#import "IDCViewControllerLogIn.h"

@interface IDCViewControllerLogIn ()

@end

@implementation IDCViewControllerLogIn
@synthesize name, field;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    name = @"New Name";
    if (self) {
        // Custom initialization
    }
    return self;
}

-(IBAction)loginClicked:(id)sender
{
    name = [NSString stringWithFormat:@"%@", field.text];
}

-(NSString *)getNameValue
{
    return [field text];
}

- (void)viewDidLoad
{
    name = [NSString stringWithFormat:@"Jason"];
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
